package com.cvicse.jrcompetition01.entity;

import com.cvicse.jrcompetition01.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;

/**
 * <p>
 * 
 * </p>
 *
 * @author 作者:kissshotwang@163.com
 * @since 2022-07-22
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class MechanismContact extends BaseEntity {

    private static final long serialVersionUID = 1L;

    private String mechanismDepartment;

    private String mechanismName;

    @NotBlank(message = "联系人不能为空")
    private String contacts;

    @Pattern(regexp = "^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\\d{8}$", message = "手机号码格式错误")
    private String phoneNumber;

    private String position;

    private String fax;

    private String qqId;

    private String weChatId;

    private String postalCode;

    private String fixedTelephone;

    private String website;

    private String email;

    private String communicationWebsite;

    private String remark;


}
